import FcLiableUserSelect from "@/views/flow/formCompoents/FcLiableUserSelect/index.vue";
import FcTargetDeptSelect from "@/views/flow/formCompoents/FcTargetDeptSelect/index.vue";
import FcSelect from "@/views/flow/formCompoents/FcSelect/index.vue";
import FcRadio from "@/views/flow/formCompoents/FcRadio/index.vue";
import FcCheckBox from "@/views/flow/formCompoents/FcCheckBox/index.vue";
import FcInput from "@/views/flow/formCompoents/FcInput/index.vue";
import FcInputNumber from "@/views/flow/formCompoents/FcInputNumber/index.vue";
import FcAmount from "@/views/flow/formCompoents/FcAmount/index.vue";
import FcDatePicker from "@/views/flow/formCompoents/FcDatePicker/index.vue";
import FcTimePicker from "@/views/flow/formCompoents/FcTimePicker/index.vue";
import FcUpload from "@/views/flow/formCompoents/FcUpload/index.vue";
import FcUserSelect from "@/views/flow/formCompoents/FcUserSelect/index.vue";
import FcDeptSelect from "@/views/flow/formCompoents/FcDeptSelect/index.vue";
import FcRoleSelect from "@/views/flow/formCompoents/FcRoleSelect/index.vue";
export const getElement = (el) => {
	switch (el.tag) {
		case 'fc-liable-user-select': {
			return FcLiableUserSelect
		}
		case 'fc-target-dept-select': {
			return FcTargetDeptSelect
		}
		case 'fc-input':
		case 'el-input': {
			return FcInput
		}
		case 'el-input-number': {
			return FcInputNumber
		}
		case 'fc-amount': {
			return FcAmount
		}
		case 'el-select':
		case 'fc-select': {
			return FcSelect
		}
		case 'fc-radio':
		case 'el-radio-group': {
			return FcRadio
		}
		case 'el-checkbox-group': {
			return FcCheckBox
		}
		case 'el-date-picker': {
			return FcDatePicker
		}
		case 'el-time-picker': {
			return FcTimePicker
		}
		case 'fc-user-select': {
			return FcUserSelect
		}
		case 'fc-dept-select': {
			return FcDeptSelect
		}
		case 'el-upload': {
			return FcUpload
		}
		case 'fc-role-select': {
			return FcRoleSelect
		}
		default:
			return el.tag
	}
}

